﻿using TrackSystem.Entities.Extensions;

namespace TrackSystem.Entities.Attr
{
    /// <summary>
    /// 通道属性定义
    /// </summary>
    public static class ChannelAttrDefine
    {
        /// <summary>
        /// 通道属性变量定义
        /// </summary>
        public static List<ParamsBase> attrs = new List<ParamsBase>
        {
            new ParamsBase(0, "Enable", "通道启用状态", false, DataTypeEnum.BOOLEAN),
            new ParamsBase(1, "Connected", "通道连接状态", true, DataTypeEnum.BOOLEAN),
            new ParamsBase(2, "Cycle", "通道周期", true, DataTypeEnum.INTEGER),
            new ParamsBase(3, "Lapse", "通道延时", true, DataTypeEnum.INTEGER),
        };
    }
}
